package com.qf.pojo;

/**
 *
 */
public class Address {

    private String addr;

    //从写构造方法, 利用构造方法进行注入
    public Address(String addr) {
        this.addr = addr;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addr='" + addr + '\'' +
                '}';
    }

}
